<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>目录导航</title>
    <style>
        /*居中显示*/
        .container {
            margin: 0 auto;
            width: 800px;
            height: 500px;
            border: 1px solid #ccc;
        }

        li {
            list-style: none;
            margin-top: 16px;
        }

        a:link {
            color: #FF0000
        }

        /* 未访问的链接 */
        a:visited {
            color: #000
        }

        /* 已访问的链接 */
        a:hover {
            color: #FF00FF
        }

        /* 鼠标移动到链接上 */
        a:active {
            color: #0000FF
        }

        /* 选定的链接 */
    </style>
</head>
<body>
<div class="container">
    <div style="margin: 10px">
        <li>
            <span>异常：</span>
            <a href="/e/500.htm">引发500</a>
        </li>
        <li><a href="/mvc/index.htm">spring mvc参数</a></li>
        <li><span>分页：</span>
            <a href="/page/index.htm">原生分页</a>&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="/page/jPage.htm">jquery.pager分页</a>
        </li>
        <li>
            <span>HTML元素：</span>
            <a href="/htmlElement/index.htm">元素</a>&nbsp;&nbsp;
            <a href="/htmlElement/div.htm">div</a>&nbsp;&nbsp;
            <a href="/htmlElement/table.htm">table</a>&nbsp;
            <a href="/htmlElement/tree.htm">zTree</a>&nbsp;
        </li>
        <li><a href="/json/index.htm">JSON 省市区联动</a> </li>
        <li><a href="/regular.htm">Js正则</a> </li>
        <li><a href="/js/index.htm">Js测试</a> </li>
        <li><a href="/jqgrid/index.htm" target="_blank">jqgrid测试</a> </li>
        <li><a href="/validate/index.htm" target="_blank">jqvalid验证</a> </li>
        <li><a href="/bootstrap/index.htm" target="_blank">bootstrap</a> </li>
        <li><a href="/bootstrap/upload.htm" target="_blank">bootstrap-fileinput</a> </li>
    </div>
</div>
</body>
<script>
    var url=location.href.split('#')[0];
    console.log(url);
</script>
</html>